/**
 * 
 */
package com.ktgj.pay.phoneSound;

import java.util.Calendar;

import com.ktgj.common.core.utils.helper.StringHelper;
import com.ktgj.pay.utils.Toolkit;

/**
 * @author cai.hongzhi
 *
 */
public class C2CXmlImpl extends BaseXml {
	private static final long serialVersionUID = 4293559029380261463L;
	private String Name = "";
	private String Mobile = "";
	private String IDCardNo = "";
	private String IDCardValidTime = "";
	private String IDCardExpireTime = "";
	private String IDCardAddress = "";
	private String IDCardPhotoPath = "";
	private String CurrentPhotoPath = "";
	private String ReceiverName = "";
	private String ReceiverContry = "";
	private String ReceiverAddress = "";
	private String ReceiverBank="";
	private String ReceiverBankContry = "";
	private String ReceiverBankCity = "";
	private String ReceiverBankAddress = "";
	private String ReceiverBankSwift = "";
	private String ReceiverAccountNo = "";
	private String Purpose = "";
	private String ContractPath = "";
	private String C2CRemark = "";
	private String PayType = "";
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	public String getMobile() {
		return Mobile;
	}
	public void setMobile(String mobile) {
		Mobile = mobile;
	}
	public String getIDCardNo() {
		return IDCardNo;
	}
	public void setIDCardNo(String iDCardNo) {
		IDCardNo = iDCardNo;
	}
	public String getIDCardValidTime() {
		return IDCardValidTime;
	}
	public void setIDCardValidTime(String iDCardValidTime) {
		IDCardValidTime = iDCardValidTime;
	}
	public String getIDCardExpireTime() {
		return IDCardExpireTime;
	}
	public boolean isForever() {
		if(!StringHelper.isNullOrEmpty(getIDCardExpireTime())){
			Calendar expire = Calendar.getInstance();
			expire.setTime(Toolkit.yyyyMMdd(getIDCardExpireTime()));
			Calendar calendar = Calendar.getInstance();
			return (expire.get(Calendar.YEAR) - calendar.get(Calendar.YEAR)) > 100;
		}else{
			return false;
		}
	}
	public void setIDCardExpireTime(String iDCardExpireTime) {
		IDCardExpireTime = iDCardExpireTime;
	}
	public String getIDCardAddress() {
		return IDCardAddress;
	}
	public void setIDCardAddress(String iDCardAddress) {
		IDCardAddress = iDCardAddress;
	}
	public String getIDCardPhotoPath() {
		return IDCardPhotoPath;
	}
	public void setIDCardPhotoPath(String iDCardPhotoPath) {
		IDCardPhotoPath = iDCardPhotoPath;
	}
	public String getCurrentPhotoPath() {
		return CurrentPhotoPath;
	}
	public void setCurrentPhotoPath(String currentPhotoPath) {
		CurrentPhotoPath = currentPhotoPath;
	}
	public String getReceiverName() {
		return ReceiverName;
	}
	public void setReceiverName(String receiverName) {
		ReceiverName = receiverName;
	}
	public String getReceiverContry() {
		return ReceiverContry;
	}
	public void setReceiverContry(String receiverContry) {
		ReceiverContry = receiverContry;
	}
	public String getReceiverAddress() {
		return ReceiverAddress;
	}
	public void setReceiverAddress(String receiverAddress) {
		ReceiverAddress = receiverAddress;
	}
	public String getReceiverBankContry() {
		return ReceiverBankContry;
	}
	public void setReceiverBankContry(String receiverBankContry) {
		ReceiverBankContry = receiverBankContry;
	}
	public String getReceiverBankCity() {
		return ReceiverBankCity;
	}
	public void setReceiverBankCity(String receiverBankCity) {
		ReceiverBankCity = receiverBankCity;
	}
	public String getReceiverBankAddress() {
		return ReceiverBankAddress;
	}
	public void setReceiverBankAddress(String receiverBankAddress) {
		ReceiverBankAddress = receiverBankAddress;
	}
	public String getReceiverBankSwift() {
		return ReceiverBankSwift;
	}
	public void setReceiverBankSwift(String receiverBankSwift) {
		ReceiverBankSwift = receiverBankSwift;
	}
	public String getReceiverAccountNo() {
		return ReceiverAccountNo;
	}
	public void setReceiverAccountNo(String receiverAccountNo) {
		ReceiverAccountNo = receiverAccountNo;
	}
	public String getPurpose() {
		return Purpose;
	}
	public void setPurpose(String purpose) {
		Purpose = purpose;
	}
	public String getContractPath() {
		return ContractPath;
	}
	public void setContractPath(String contractPath) {
		ContractPath = contractPath;
	}
	public String getC2CRemark() {
		return C2CRemark;
	}
	public void setC2CRemark(String c2cRemark) {
		C2CRemark = c2cRemark;
	}
	public String getPayType() {
		return PayType;
	}
	public void setPayType(String payType) {
		PayType = payType;
	}
	public void setReceiverBank(String receiverBank) {
		this.ReceiverBank = receiverBank;
	}
	public String getReceiverBank() {
		return ReceiverBank;
	}
	
}
